<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title> Category - Create - Form</title>
        <style>
            .error {
                color: red;
                text-decoration: underline;
                display: inline;
            }
        </style>
    </head>
    <body>
        <h1>Category - Create - Form</h1>
        <?php //echo validation_errors(); ?>
        <form method="post" action="<?php echo base_url(); ?>thu-muc/tao-thu-muc">
            Name:  <input type="text" name="CategoryName" placeholder="fill name"/><?php echo form_error('CategoryName', '<div class="error">', '</div>'); ?></br>
            Info:  <textarea name="CategoryInfo" placeholder="fill info"></textarea><?php echo form_error('CategoryInfo', '<div class="error">', '</div>'); ?></br>
            Image:  <input type="text" name="CategoryImage"><?php echo form_error('CategoryImage', '<div class="error">', '</div>'); ?></br>
            <button type="submit"> Create</button>
            <button type="reset"> Reset</button>
        </form>
        <?php
        // put your code here
        ?>
    </body>
</html>
